@import "../_base/_function";
.ui-staff {
  .staffs {
    padding-top: 10px;
    overflow: hidden;
    .it {
      @include inline-block();
      vertical-align: middle;
      position: relative;
      margin-right: 10px;
      margin-bottom: 6px;
    }
    .avatar {
      width: 45px;
      border-radius: 50%;
    }
    .icon-guanbi {
      color: $error;
      text-decoration: none;
      top: -5px;
      right: -5px;
      position: absolute;
    }
  }
  .icon-arrow {
    float: right;
    text-decoration: none;
    color: $primary-color;
    font-size: 13px;
    margin-right: 10px;
    margin-top: 10px;
    display: none;
    &:after {
      content: "\e604";
      color: #999;
    }
  }
  .icon-addition_fill {
    color: $blue;
    text-decoration: none;
    font-size: 40px;
    @include inline-block();
    vertical-align: middle;
  }
  .ui-pc-box {
    @include clearfix();
  }
  &.ui-staff-single {
    .icon-addition_fill {
      display: none;
    }
  }
  &.ui-border-bottom {
    .ui-pc-box {
      padding-bottom: 10px;
      border-bottom: 1px solid $border-color;
    }
    &.ui-error {
      .ui-pc-box {
        border-bottom-color: $error;
      }
    }

  }
  &.open {
    .staffs {
     height: auto !important;
    }
    .icon-arrow {
      &:after {
        content: "\e607";
      }
    }
  }
  &.ui-row {
    label{
      padding-top: 15px;
    }
  }

}

.ui-mobile {
  .ui-staff {
    .ui-staff-btn {
      display: inline-block;
      vertical-align: top;
      height: 30px;
      width: 30px;
      //background: url(../../images/spr-l-0626.png) 0 -89px;
      margin: 0 8px 8px 0;
    }
    background: transparent !important;
    border: 0 !important;
  }
  .ui-staff-btn {
    margin-top: 8px;
  }
}

.ui-staff-modal {
  a {
    text-decoration: none;
  }
  .modal-content {
    width: 700px;
    margin-left: -350px;
  }
  .container-right {
    width: 45%;
    float: right;
  }
  .com-search {
    position: relative;
    height: 28px;
    .ui-panel{
      padding-top: 0;
      padding-bottom: 5px;
      .placeholder{
        top: 1px;
        left: 10px;
        line-height: 26px;
      }
      .input-text{
        width: 100%;
        border: 0px;
        line-height: 26px;
        padding: 0;
      }

    }
    .search-btn {
      position: absolute;
      top: 3px !important;
      right: 5px !important;
      color: #999;
      width: 19px;
      height: 19px;
    }
    input {
      height: 28px;
      width: 100%;
      padding: 0 40px 0 10px;
      border: 0;
      border: $border-style;
      outline: none;
    }
  }
  .left-title {
    float: left;
    font-size: 12px;
    margin: 0;
    color: #535353;
  }
  .com-search {
    margin-bottom: 5px;
  }
  .choose-all {
    float: right;
    margin-right: 20px;
    font-size: 12px;
    text-decoration: none;
    color: $primary-color;
  }
  .select-tree {
    position: absolute;
    left: 0;
    right: 0;
    top: 114px;
    bottom: 0;
    border: $border-style;
    overflow: auto;
  }
  .right-title {
    float: left;
    font-size: 14px;
    margin: 0;
    font-weight: normal;
    color: #a0a0a0;
  }
  .right-top {
    margin-top: 20px;
  }
  .clear-all {
    float: right;
    font-size: 14px;
    color: $primary-color;
    text-decoration: none;
  }
  .choose-list {
    border-top: $border-style;
    margin-top: 8px;
    position: absolute;
    left: 0;
    right: 0;
    top: 40px;
    bottom: 0;
    overflow: auto;
    padding-left: 18px;
    li {
      margin: 10px 0 0 0;
      padding: 0;
      position: relative;
      border-bottom: 1px solid #f6f6f6;
      list-style: none;
    }
    .avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      float: left;
      margin-right: 12px;
    }
    .info {
      width: 170px;
      float: left;

    }

    .name,
    .department {
      @extend %ellipsis-basic;
    }
    .name {
      font-size: 14px;
      color: #333;
      margin: 0;
    }
    .department {
      font-size: 12px;
      color: #999;
    }
    .delete {
      position: absolute;
      right: 0px;
      top: -10px;
      //border: 1px solid #ffff00;
      height: 20px;
      width: 20px;
      background: url(./assets/images/spr-l-0626.png) 0 -165px;
      margin: 10px 5px 0 0;
    }
  }
}